package com.tensquare.article.service;

import com.tensquare.article.pojo.Comment;

import java.util.List;

public interface CommentService {
    List<Comment> findAll();
    Comment findById(String commentId);
    void save(Comment comment);
    void updateById(String commentId, Comment comment);
    void deleteById(String commentId);
    List<Comment> findCommentByArticleId(String articleId);
    void thumbup(String commentId);
}
